a = [1,2,3,4,5,6,7]
a.append(8)
print(a)
#Output:[1, 2, 3, 4, 5, 6, 7, 8]
a.extend([8,9,10])
print(a)
#Output:[1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 10]
a.insert(0, 0)
print(a)
#Output:[0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 10]